package com.cykj.v_m_sprintboot.mapper;

import com.cykj.v_m_sprintboot.bean.TbVmi;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TbVmiMapper {
    List<TbVmi> VM();
    int count(@Param(value = "vmid")int vmid);
    List<TbVmi> vmcx(@Param(value = "vmstate") String vmstate,
                     @Param(value = "vmsite") String vmsite);
    boolean sqvm(@Param(value = "time") String time,
                 @Param(value = "vmSite")String vmSite,
                 @Param(value = "name")String name);
    boolean vmjy(@Param(value = "vmid")int vmid);
    boolean vmqy(@Param(value = "vmid")int vmid);

}
